﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;

namespace PR.WebService.RamanSyrtsou
{
    class Program
    {
        static void Main(string[] args)
        {
            Uri uri = new Uri("net.tcp://localhost:8228/PRWORKPLACE");
            NetTcpBinding binding = new NetTcpBinding();
            ServiceHost host = new ServiceHost(typeof(PRWebService));
            host.AddServiceEndpoint(typeof(IPRWebServiceContractRamanSyrtsou), binding, uri);
            host.Open();
            Console.ReadLine();
        }
    }
}
